package com.ruoyi.ic.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库单明细，用于保存物资明细信息对象 ic_general_b
 * 
 * @author ruoyi
 * @date 2024-11-27
 */
public class IcGeneralB extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long bid;

    /** 出库单表头id */
    @Excel(name = "出库单表头id")
    private Long hid;

    /** 物资编码 */
    @Excel(name = "物资编码")
    private String invcode;



    /** 物资名称 */
    @Excel(name = "物资名称")
    private String invname;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private BigDecimal nnumber;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creater;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Long del;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public void setBid(Long bid)
    {
        this.bid = bid;
    }

    public Long getBid() 
    {
        return bid;
    }
    public void setHid(Long hid) 
    {
        this.hid = hid;
    }

    public Long getHid() 
    {
        return hid;
    }
    public void setInvcode(String invcode) 
    {
        this.invcode = invcode;
    }

    public String getInvcode() 
    {
        return invcode;
    }
    public void setInvname(String invname) 
    {
        this.invname = invname;
    }

    public String getInvname() 
    {
        return invname;
    }
    public void setNnumber(BigDecimal nnumber) 
    {
        this.nnumber = nnumber;
    }

    public BigDecimal getNnumber() 
    {
        return nnumber;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bid", getBid())
            .append("hid", getHid())
            .append("invcode", getInvcode())
            .append("invname", getInvname())
            .append("nnumber", getNnumber())
            .append("creater", getCreater())
            .append("createtime", getCreatetime())
            .append("updater", getUpdater())
            .append("updatetime", getUpdatetime())
            .append("del", getDel())
            .toString();
    }
}
